var BASEURL = 'http://192.168.1.126:8080/lw_robot';
var VIDEOURL = 'http://192.168.1.102:9000/hls';

var nowDate = new Date();

nowDate = nowDate.getTime();

var last = '?tttttt='+nowDate;

var api={
    login:BASEURL+'/h5/api/auth/login'+last,//登录
    robot_list:BASEURL+'/h5/api/robot/list'+last,//机器人列表
    exhibitionhall_list:BASEURL+'/h5/api/exhibitionhall/list'+last,//展厅列表
    admin_list:BASEURL+'/h5/api/adminuser/list'+last,//预约人列表
    record_list:BASEURL+'/h5/api/reservation/record'+last,//2.4.8.7	预约记录查询
    industry_list:BASEURL+'/h5/api/industry/list'+last,//2.4.3.1	获取行业列表接口
    add_reservation:BASEURL+'/h5/api/reservation/add'+last,//2.4.8.1	预约申请接口
    cancel_reservation:BASEURL+'/h5/api/reservation/cancel'+last,//2.4.8.3	预约取消接口
    save_reservation:BASEURL+'/h5/api/reservation/batch/update'+last,//2.4.8.3 修改并保存预约
    purview_user:BASEURL+'/h5/api/robot/purview//user/purview/detail/list'+last,//获取用户的权限列表
    purview_role:BASEURL+'/h5/api/robot/purview/role/list'+last,//获取角色列表
    quanxian_add:BASEURL+'/h5/api/robot/purview/user/role/add'+last,//权限添加
    quanxian_updata:BASEURL+'/h5/api/robot/purview/user/role/update'+last,//权限编辑
    quanxian_delete:BASEURL+'/h5/api/robot/purview/user/role/delete'+last,//权限删除
    quanxian_user_unselect:BASEURL+'/h5/api/robot/purview/user/robot/unselect/list'+last,//用户未选择的机器人列表
    responsibleperson_list:BASEURL+'/h5/api/robot/responsibleperson/list'+last,//配置管理-负责人列表
    add_responsibleperson:BASEURL+'/h5/api/robot/responsibleperson/add'+last,//配置管理-负责人添加
    update_responsibleperson:BASEURL+'/h5/api/robot/responsibleperson/batch/update'+last,//配置管理-负责人更新
    delete_responsibleperson:BASEURL+'/h5/api/robot/responsibleperson/delete'+last,//配置管理-负责人删除
    image_list:BASEURL+'/h5/api/robot/image/detail/list'+last,//机器人形象库列表
    add_image:BASEURL+'/h5/api/robot/image/add'+last,//机器人形象添加
    update_image:BASEURL+'/h5/api/robot/image/update'+last,//机器人形象更新
    delete_image:BASEURL+'/h5/api/robot/image/delete'+last,//机器人形象删除
    robot_image:BASEURL+'/h5/api/robot/image/enable'+last,//机器人形象选择
    exhibitionhall_mapList:BASEURL+'/h5/api/exhibitionhall/map/list'+last,//场馆地图库列表
    add_map:BASEURL+'/h5/api/exhibitionhall/map/add'+last,//场馆地图库添加
    enable_map:BASEURL+'/h5/api/exhibitionhall/map/enable'+last,//场馆地图库选择
    setup_minElectric:BASEURL+'/h5/api/robot/electric/min/setup'+last,//机器人最低电量
    product_list:BASEURL+'/h5/api/exhibitionhall/product/list'+last,//板块配置列表
    delete_product:BASEURL+'/h5/api/exhibitionhall/product/delete'+last,//板块删除
    update_product:BASEURL+'/h5/api/exhibitionhall/product/update'+last,//板块编辑修改
    plate_list:BASEURL+'/h5/api/exhibitionhall/product/plate/list'+last,//展板配置
    delete_plate:BASEURL+'/h5/api/exhibitionhall/product/plate/delete'+last,//展板删除
    update_plate:BASEURL+'/h5/api/exhibitionhall/product/plate/batch/update'+last,//展板编辑更新
    robot_list_gl:BASEURL+'/h5/api/robot/list'+last,//配置管理--智能机器人列表接口
    add_robot_gl:BASEURL+'/h5/api/robot/add'+last,//2.4.6.2	配置管理--智能机器人添加接口
    jiangjie_list:BASEURL+'/h5/api/exhibitionhall/product/plate/list'+last,//讲解词 语言库
    add_jiangjie:BASEURL+'/h5/api/exhibitionhall/product/plate/update'+last,//讲解词 语言库 上传讲解文件
    expression_list:BASEURL+'/h5/api/robot/expression/detail/list'+last,//表情库列表
    update_expression:BASEURL+'/h5/api/robot/expression/update'+last,//表情库添加
    enable_expression:BASEURL+'/h5/api/robot/expression/enable'+last,//表情库启用
    advertisement_list:BASEURL+'/h5/api/robot/advertisement/list'+last,//广告列表获取
    sort_advertisement:BASEURL+'/h5/api/robot/advertisement/sequence/sort'+last,//广告排序
    enable_advertisement:BASEURL+'/h5/api/robot/advertisement/enable'+last,//广告启用
    add_advertisement:BASEURL+'/h5/api/advertisement/add'+last,//广告添加
    delete_advertisement:BASEURL+'/h5/api/advertisement/delete'+last,//广告删除
    adTriggerrule_list:BASEURL+'/h5/api/robot/advertisement/triggerrule/list'+last,//广告规则
    enable_triggerrule:BASEURL+'/h5/api/robot/advertisement/triggerrule/enable'+last,//广告规则-启用
    robot_point:BASEURL+'/h5/api/exhibitionhall/point/exhibitionhall/plate/list'+last,//机器人巡逻线路点位图
    server_logo_list:BASEURL+'/h5/api/log/server/list'+last,//日志服务器列表
    add_serverLogo:BASEURL+'/h5/api/log/server/add'+last,//日志服务器添加
    update_serverLogo:BASEURL+'/h5/api/log/server/update'+last,//日志服务器更新
    enable_serverLogo:BASEURL+'/h5/api/log/server/enable'+last,//日志服务器启用/停用
    level_list:BASEURL+'/h5/api/robot/alarm/level/list'+last,//告警配置→告警信息级别配置
    add_level:BASEURL+'/h5/api/robot/alarm/level/add'+last,//告警配置→告警信息级别配置--添加
    update_level:BASEURL+'/h5/api/robot/alarm/level/update'+last,//告警配置→告警信息级别配置--更新
    delete_level:BASEURL+'/h5/api/robot/level/delete'+last,//告警配置→告警信息级别配置--删除
    alarm_list:BASEURL+'/h5/api/robot/alarm/list'+last, //监测预警列表
    robot_position: BASEURL+'/h5/api/robot/running/realtime/getPosition'+last, //机器人坐标
    robot_control_direction:BASEURL+'/h5/api/robot/running/control/action'+last, //机器人方向控制
    robot_camera: BASEURL+'/h5/api/robot/running/control/pre/video/open'+last,  //机器人摄像头
    robot_order_list: BASEURL+'/h5/api/robot/process/list'+last, //机器人命令列表
    robot_current_order: BASEURL+'/h5/api/robot/process/get/current'+last, //机器人当前当前命令
    robot_appoint_list: BASEURL+'/h5/api/exhibitionhall/point/product/list'+last, //移动指定区域
    robot_task_list: BASEURL+'/h5/api/exhibitionhall/point/product/plate/list'+last, //任务列表
    robot_turn_task: BASEURL+'/h5/api/robot/running/control/turn'+last, //跳转任务
    video_url: VIDEOURL+'/', //视频播放地址
    robot_voice: '',  //机器人语音
}